<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
    <title>{{ title }}</title>
</head>
<body>
    <!-- 顶部栏 -->
    <header>
        <a href="#" class="back-button">←</a>
        <h1>{{ title }}</h1>
    </header>
    <!-- 中间区域 -->
    <main>
        {% block content %}
        {% endblock %}
    </main>

    <!-- 更多菜单面板 -->
    <div id="more-menu-panel" style="display: block;">
        <ul>
            <li><a href="{{ url_for('submenu1') }}">子菜单 1</a></li>
            <li><a href="{{ url_for('submenu2') }}">子菜单 2</a></li>
            <li><a href="{{ url_for('submenu3') }}">子菜单 3</a></li>
        </ul>
    </div>
    <!-- 底部栏 -->
    <footer>
        <nav>
            <ul>
                <li><a href="{{ url_for('home') }}">主页</a></li>
                <li><a href="{{ url_for('about') }}">关于我们</a></li>
                <li><a href="{{ url_for('translation') }}">英文翻译</a></li>
                <li id="more-menu-button">更多菜单</li>
            </ul>
        </nav>
    </footer>
    <!-- 将脚本放在这里 -->
    <script src="{{ url_for('static', filename='js/script.js') }}"></script>
</body>
</html>
